﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="RptPersonRanking.aspx.cs" Inherits="ZX.WebApp.Crm.Report.RptPersonRanking" %>

<%@ Register Assembly="DevExpress.Web.ASPxGridView.v11.2, Version=11.2.10.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a"
    Namespace="DevExpress.Web.ASPxGridView" TagPrefix="dx" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
    <link href="../../Styles/base.css" rel="stylesheet" type="text/css" />
    <link href="../../Styles/extendTable.css" rel="stylesheet" type="text/css" />
    <script src="../../Scripts/jquery-1.6.min.js" type="text/javascript"></script>
    <script src="../../Scripts/smartFocus.js" type="text/javascript"></script>
</head>
<body>
    <form id="form1" runat="server">
    <div>
        <div class="fieldForm" id="fieldForm">
            <div id="content">
                <h3>
                    查询</h3>
                <table class="table1">
                    <tr>
                        <td width="10%" align="right">
                            名称
                        </td>
                        <td>
                            <input type="text" id="txtName" style="width:170px; vertical-align:bottom" runat="server" />
                            <asp:Button ID="btnSearch" OnClick="btnSearch_Click" CssClass="btnCheck" 
                                Height="26" runat="server" Text="查询" />
                        </td>
                    </tr>
                </table>
            </div>
            <div class="extendDiv">
                <h3>
                    数据列表</h3>
                <div>
                    <dx:ASPxGridView ID="gvDataInfo" runat="server" SettingsPager-PageSize="25" Width="100%">
                        <Columns>
                            <dx:GridViewDataTextColumn Caption="名次" FieldName="indexNum" VisibleIndex="0">
                            </dx:GridViewDataTextColumn>
                            <dx:GridViewDataTextColumn Caption="姓名" FieldName="DeptName" VisibleIndex="1">
                            </dx:GridViewDataTextColumn>
                            <dx:GridViewDataTextColumn Caption="职位" FieldName="postname" VisibleIndex="2">
                            </dx:GridViewDataTextColumn>
                            <dx:GridViewDataTextColumn Caption="回款金额(万)" FieldName="Rsum" VisibleIndex="3">
                            </dx:GridViewDataTextColumn>
                        </Columns>
                    </dx:ASPxGridView>
                </div>
            </div>
        </div>
    </div>
    </form>
</body>
<script type="text/javascript">
    var defaultValue = "输入团队名或负责人查询...";
    $(document).ready(function () {
        $("#txtName").smartFocus({ defaultText: defaultValue });
    });
</script>
</html>
